package com.jswdwsx.esign.protocol.request

data class AddHandSignFields2FlowReq(
    var signfields: Array<HandSignField>
) {
    override fun equals(other: Any?): Boolean {
        if (this === other) return true
        if (javaClass != other?.javaClass) return false

        other as AddHandSignFields2FlowReq

        if (!signfields.contentEquals(other.signfields)) return false

        return true
    }

    override fun hashCode(): Int {
        return signfields.contentHashCode()
    }
}

data class HandSignField(
    val fileId: String,
    val signerAccountId: String,
    val actorIndentityType: Int,
    val authorizedAccountId: String? = null,
    val order: Int,
    val assignedPosBean: Boolean,
    val posBean: PosBean? = null,
    val sealType: String? = null,
    val signType: Int? = null,
    val sealId: String? = null
)